package com.gxp.system.domain.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

public class GxpUserDto {

    private Long userId;
    private String loginName;

    private String userName;

    private String roles;

    private String status;

    private List<String> serviceTypes;

    private List<String> permissions;

    private List<String> esignPermissions;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public List<String> getServiceTypes() {
        return serviceTypes;
    }

    public void setServiceTypes(List<String> serviceTypes) {
        this.serviceTypes = serviceTypes;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }

    public List<String> getEsignPermissions() {
        return esignPermissions;
    }

    public void setEsignPermissions(List<String> esignPermissions) {
        this.esignPermissions = esignPermissions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("loginName", getLoginName())
                .append("userName", getUserName())
                .append("roles", getRoles())
                .append("status", getStatus())
                .append("serviceTypes", getServiceTypes())
                .append("permissions", getPermissions())
                .append("esignPermissions", getEsignPermissions())
                .toString();
    }
}
